using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class TaiKhoanDTO
    {
        #region 1 - Cac thuoc tinh

        private int m_iMaTaiKhoan;
        private string m_strUsername;
        private string m_strPassword;
        private int m_iMaLoaiTaiKhoan;

        #endregion

        #region 2 - Cac property

        public int MaTaiKhoan
        {
            get { return m_iMaTaiKhoan; }
            set { m_iMaTaiKhoan = value; }
        }

        public string Username
        {
            get { return m_strUsername;}
            set { m_strUsername = value; }
        }

        public string Password
        {
            get { return m_strPassword; }
            set { m_strPassword = value; }
        }

        public int MaLoaiTaiKhoan
        {
            get { return m_iMaLoaiTaiKhoan; }
            set { m_iMaLoaiTaiKhoan = value; }
        }

        #endregion

        #region 3 - Phuong thuc khoi tao

        public TaiKhoanDTO()
        {
            this.m_iMaTaiKhoan = -1;
            this.m_strUsername = "";
            this.m_strPassword = "";
            this.m_iMaLoaiTaiKhoan = -1;
        }

        #endregion
    }
}
